import React from 'react'

import {
  BrowserRouter,
  HashRouter,
  Route,
  Link,
  Switch,
} from 'react-router-dom'

// BrowserRouter, HashRouter,用于改变路由模式

import App from './App.js'

const Router = () => (
  <BrowserRouter>
    <App />
  </BrowserRouter>
)
export default Router
